import React from 'react'
import './style.less'


export default class LifeBannerBg extends React.Component {
  backPage(){
    window.history.back()
  }
  render() {
    const imgUrl = this.props.imgUrl
    return(
      <div>
        {/*背景*/}
        <div className='box-bg' style={{ background:`url("${imgUrl}") center center / cover no-repeat` }}>
          <i className='iconfont icon-zuo' onClick={ this.backPage.bind(this) }></i>
        </div>
      </div>
    )
  }
}
